'use strict';
const path = require('path');

module.exports = appInfo => {
  const config = {};

  config.mini_assets = false;

  config.logger = {
    disableConsoleAfterReady: false,
  };

  config.mongoose = {
    url: 'mongodb://taosha_user:apyl8XWP6LSW4JHs@101.35.6.34:27722/taosha',
    options: {
      poolSize: 20,
      useNewUrlParser: true,
      useUnifiedTopology: true,
      useCreateIndex: true,
      useFindAndModify: false
    },
  };

  config.redis = {
    client: {
      host: '124.223.34.189',
      port: 6379,
      password: 'BYjv49etb8I2I3KI',
      db: 0
    },
  };


  return config;
};
